﻿
namespace AutomaticScrewLocking.domain.modbus.comm.model.entity
{
    /// <summary>
    /// PLC 数据参数
    /// </summary>
    public class CommParam
    {
        /// <summary>
        /// plc IP地址
        /// </summary>
        public string plcIp { set; get; }
        /// <summary>
        /// plc 端口 
        /// </summary>
        public int plcPort { set; get; } = 502;
        /// <summary>
        /// plc 锁付起始位置
        /// </summary>
        public float startPos { set; get; }
        /// <summary>
        /// plc 锁付结束位置
        /// </summary>
        public float endPos { set; get; }
        /// <summary>
        /// 合格扭力上限
        /// </summary>
        public float screwLimit { set; get; }
    }
}
